<?php
define("IN_ACP",1);
define("ROOT",dirname(dirname(__FILE__))."/");
define("ACP_ROOT",dirname(__FILE__)."/");
require_once(ROOT."includes/init.php");
require_once(ACP_ROOT."includes/class_module.php");
require_once(ACP_ROOT."includes/class_page.php");
require_once(ACP_ROOT."includes/class_table.php");

if($phprpg->player['pgroup']['isAdmin'] != 1){
	header("location: {$phprpg->settings['gameurl']}");
}
$module = new module;
$page = new page;
require_once($module->curPage);
?>